Matthias Clasen [Tue, 28 May 2013 01:50:37 +0000 (21:50 -0400)]
Forgotten bug info
Matthias Clasen [Mon, 27 May 2013 23:41:23 +0000 (19:41 -0400)]
Post-release bump
Matthias Clasen [Mon, 27 May 2013 20:42:57 +0000 (16:42 -0400)]
3.9.2
Matthias Clasen [Mon, 27 May 2013 22:25:08 +0000 (18:25 -0400)]
Fix distclean
extract-strings was left behind.
Matthias Clasen [Mon, 27 May 2013 20:40:43 +0000 (16:40 -0400)]
Add new widgets to the gallery
Make GtkHeaderBar, GtkPlacesSidebar, GtkStack and GtkStackSwitcher
show up in the gallery.
Matthias Clasen [Mon, 27 May 2013 19:26:59 +0000 (15:26 -0400)]
Minor documentation formatting fixes
Matthias Clasen [Mon, 27 May 2013 19:17:25 +0000 (15:17 -0400)]
Add an index for 3.10 symbols in gdk docs
Matthias Clasen [Mon, 27 May 2013 19:03:04 +0000 (15:03 -0400)]
Add release note about GtkBin compatibility
Matthias Clasen [Mon, 27 May 2013 18:49:43 +0000 (14:49 -0400)]
Add gtk_test_widget_wait_for_draw to docs
Matthias Clasen [Mon, 27 May 2013 18:42:58 +0000 (14:42 -0400)]
Remove gtk_widget_preferred_size_and_baseline from the docs
No longer exported since
bd4d00918ed6293f7b45921ee4a52068aa78aa44.
Matthias Clasen [Mon, 27 May 2013 18:41:35 +0000 (14:41 -0400)]
Document --enable-installed-tests option
Matthias Clasen [Mon, 27 May 2013 18:36:53 +0000 (14:36 -0400)]
Add new symbols to docs
Also, minor formatting fixes.
Matthias Clasen [Sun, 26 May 2013 05:05:25 +0000 (01:05 -0400)]
Add a tiled window state
This information is needed to draw client-side decorations
properly in this state.
https://bugzilla.gnome.org/show_bug.cgi?id=696001
Chun-wei Fan [Mon, 27 May 2013 10:25:57 +0000 (18:25 +0800)]
Update Visual Studio 2010 projects
Add a PlatformToolset tag for each configuration for project files that
do not yet have them. This is to ease support for Visual Studio 2012 as
we can copy and easily replace a few items with automated scripts as
project files for Visual Studio 2010 and 2012 are very similar.
This might change when we eventually support the Metro (aka Windows 8
Modern UI), but this will suffice for the time being.
Dušan Kazik [Sun, 26 May 2013 14:03:13 +0000 (16:03 +0200)]
Updated slovak translation
Timothy Arceri [Thu, 23 May 2013 08:00:36 +0000 (18:00 +1000)]
Fix error_selecting_folder_over_existing_file_dialog() never displaying message
https://bugzilla.gnome.org/show_bug.cgi?id=700864
Timothy Arceri [Thu, 23 May 2013 08:09:58 +0000 (18:09 +1000)]
Handle G_IO_ERROR_FILENAME_TOO_LONG errors when saving
https://bugzilla.gnome.org/show_bug.cgi?id=591969
Timothy Arceri [Mon, 20 May 2013 21:54:00 +0000 (07:54 +1000)]
Update gtk_file_chooser_set_do_overwrite_confirmation() documentation to reflect what is actually happening
https://bugzilla.gnome.org/show_bug.cgi?id=360131
Alban Browaeys [Fri, 24 May 2013 23:05:13 +0000 (01:05 +0200)]
GtkPlacesSidebar: do not unref mount
Do not unref mount has we grabbed its pointer without taking
a reference.
Otherwise the following call to g_list_free_full on network_mounts
frees it a second time. Segfault in nautilus ensue.
https://bugzilla.gnome.org/show_bug.cgi?id=700979
Matthias Clasen [Sun, 26 May 2013 01:02:00 +0000 (21:02 -0400)]
csd: Fix handling of titlebar height
gtk_widget_get_allocated_height returns the adjusted
allocation, so we can't use it as measure for how much
room to leave when drawing the window background.
Matthias Clasen [Sun, 26 May 2013 00:56:14 +0000 (20:56 -0400)]
Add more tests to testheaderbar
Check that one can use widgets other than GtkHeaderBar as
titlebars.
Matthias Clasen [Sat, 25 May 2013 18:04:36 +0000 (14:04 -0400)]
GtkBox: don't propagate the expand child property
The intention of the expand widget flags was to in fact propagate
legacy expand child properties as well. Due to implementation errors,
this was only happening in some cases, but not in others. To avoid
breaking old code assuming traditional expand flag behavior, this
commit removes all attempts to propagate GtkBox::expand.
This was discussed in
https://bugzilla.gnome.org/show_bug.cgi?id=698656 and
https://bugzilla.gnome.org/show_bug.cgi?id=628902
This patch was written by Tristan Van Berkom.
Matthias Clasen [Sat, 25 May 2013 17:17:57 +0000 (13:17 -0400)]
Avoid shadowing a variable
I don't think this broke anything, but it is just inviting
confusion.
Matthias Clasen [Sat, 25 May 2013 17:12:56 +0000 (13:12 -0400)]
testwindowsize: show the actual window size
Matthias Clasen [Sat, 25 May 2013 15:42:28 +0000 (11:42 -0400)]
Add an interactive window sizing test
Bastien Nocera [Wed, 22 May 2013 15:37:51 +0000 (17:37 +0200)]
GdkRgba: Fix 'loose' typo
Should be "lose"
https://bugzilla.gnome.org/show_bug.cgi?id=700844
Bastien Nocera [Tue, 21 May 2013 16:31:10 +0000 (18:31 +0200)]
GtkSearchEntry: Don't wait for timeout when emptying
When the text entry gets cleared, emit the "changed" signal
straight away. This avoids a lag when dismissing a search.
https://bugzilla.gnome.org/show_bug.cgi?id=700787
Bastien Nocera [Tue, 21 May 2013 16:29:08 +0000 (18:29 +0200)]
GtkTreeView: Use GtkEntry private function to remove hack
https://bugzilla.gnome.org/show_bug.cgi?id=700787
Bastien Nocera [Tue, 21 May 2013 16:26:48 +0000 (18:26 +0200)]
GtkEntry: Focus the entry without selecting the text
Focusing the text entry without selecting all the text is needed in
some places (GtkTreeView, and some uses of GtkSearchEntry) so
create a private helper to avoid replicating the hacks.
https://bugzilla.gnome.org/show_bug.cgi?id=700787
Matthias Clasen [Thu, 23 May 2013 16:26:26 +0000 (12:26 -0400)]
Don't include X11 headers in wayland
The include of X11/keysyms.h in gdkdevice-wayland.c was just
a leftover.
Victor Ibragimov [Thu, 23 May 2013 07:29:48 +0000 (12:29 +0500)]
po-properties updated for Tajik
Matthias Clasen [Thu, 23 May 2013 02:01:44 +0000 (22:01 -0400)]
Drop test images
These were left behind when gdk-pixbuf was split off.
Federico Mena Quintero [Wed, 22 May 2013 22:22:28 +0000 (17:22 -0500)]
GtkFileChooser: Only allow creating bookmarks for folders, not files
https://bugzilla.gnome.org/show_bug.cgi?id=561221
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 22 May 2013 22:22:28 +0000 (17:22 -0500)]
GtkPlacesSidebar: Only create bookmarks for folders, not files
https://bugzilla.gnome.org/show_bug.cgi?id=561221
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Benjamin Otte [Tue, 21 May 2013 22:07:04 +0000 (00:07 +0200)]
tests: Stop expander from failing
The test was flaky without gtk_widget_wait_for_draw().
Matthias Clasen [Tue, 21 May 2013 11:49:15 +0000 (07:49 -0400)]
Wayland: not all screens are square
https://bugzilla.gnome.org/show_bug.cgi?id=700737
Benjamin Otte [Tue, 21 May 2013 10:50:13 +0000 (12:50 +0200)]
tests: Install tests/css/parser
Benjamin Otte [Tue, 21 May 2013 10:37:49 +0000 (12:37 +0200)]
tests: Install testsuite/css
Rafael Ferreira [Tue, 21 May 2013 05:28:45 +0000 (02:28 -0300)]
Updated Brazilian Portuguese translation
John Ralls [Fri, 3 May 2013 17:31:47 +0000 (10:31 -0700)]
Bug 667759 - gtkdnd-quartz.c is missing annotations for introspection
Work around this by introspecting gtkclipboard.c and gtkdnd.c instead
of the quartz alternatives.
Note that this is temporary: The implementation of GdkSelection
will make the quartz alternatives unnecessary. See bug 571582.
John Ralls [Mon, 20 May 2013 22:15:11 +0000 (15:15 -0700)]
Bug 691921 - GTK+ built on Leopard references [NSMenu removellItems]
Test it with respondsToSelector, and if it isn't available delete the
items one at a time.
Colin Walters [Mon, 20 May 2013 18:06:32 +0000 (14:06 -0400)]
modules/input: Only build quartz module if we're targeting quartz
Otherwise the build is broken on GNU/Linux and Win32.
E. K. Kato [Mon, 20 May 2013 17:48:32 +0000 (10:48 -0700)]
Bug 694273 - Patch to support NSTextInputClient in text widgets
Provides an input module for native OSX input methods.
Based on a patch by Hiroyuki Yamamoto
(http://www.sraoss.jp/sylpheed/sylpheed/macosx/gtk+-2.24.0-macosx-textinputclient_ja-test1.patch).
Adjustments for Gtk3 by Matthew Francis <gnomebugs@newsheffield.co.uk>
Kjartan Maraas [Mon, 20 May 2013 16:31:46 +0000 (18:31 +0200)]
Updated Norwegian bokmål translation
Daniel Mustieles [Mon, 20 May 2013 10:36:35 +0000 (12:36 +0200)]
Updated Spanish translation
Victor Ibragimov [Mon, 20 May 2013 07:44:12 +0000 (12:44 +0500)]
Tajik translation updated
Luc Pionchon [Tue, 6 Mar 2012 23:13:03 +0000 (01:13 +0200)]
typo
https://bugzilla.gnome.org/show_bug.cgi?id=699289
Luc Pionchon [Fri, 10 May 2013 10:30:08 +0000 (13:30 +0300)]
Add doc to set markup and accelerator on a MenuItem.
https://bugzilla.gnome.org/show_bug.cgi?id=699289
Lionel Landwerlin [Fri, 17 May 2013 12:28:04 +0000 (13:28 +0100)]
x11: make _gdk_device_query_state report the master's device state
Calling XIQueryPointer() on a slave device is going to trigger a
BadDevice X error. So in case we query a slave device state, ask the
master device instead.
https://bugzilla.gnome.org/show_bug.cgi?id=700233
Mario Sanchez Prada [Thu, 16 May 2013 14:34:05 +0000 (15:34 +0100)]
Missing NULL-check in XI2's implementation for get_window()
Add missing check in gdk_x11_device_manager_xi2_get_window(), returning
NULL if no valid XI2Event* has been found. Calling code seems to be
prepared to handle NULLs coming from this function, so it should be
safe enough (e.g. check gdk_event_source_get_filter_window()).
https://bugzilla.gnome.org/show_bug.cgi?id=700465
Will Thompson [Sat, 18 May 2013 13:55:32 +0000 (14:55 +0100)]
docs: remove unused objects_grouped.sgml
I notice that a reference to GtkStrengthBar had been left in this file
when it was renamed to GtkLevelBar. On closer inspection, it looks like
it's been unused for 13 years. To quote docs/reference/ChangeLog:
> 2000-10-23 Havoc Pennington <hp@redhat.com>
>
> [...] Removed objects_grouped.sgml from gtk-docs.sgml for now, it
> doesn't seem useful anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=700575
Victor Ibragimov [Sun, 19 May 2013 07:38:39 +0000 (12:38 +0500)]
Updated Tajik Translation
Matthias Clasen [Sat, 18 May 2013 23:21:54 +0000 (19:21 -0400)]
Fix drawing of treeview grid lines
In the presence of invisible columns, the grid line drawing
code was malfunctioning.
https://bugzilla.gnome.org/show_bug.cgi?id=700578
Bastien Nocera [Thu, 16 May 2013 12:27:39 +0000 (14:27 +0200)]
GtkSwitch: Don't handle events from extra mouse buttons
Also use GDK_EVENT_{STOP,PROPAGATE} to make return
values clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=696640
Bastien Nocera [Tue, 26 Mar 2013 13:22:10 +0000 (14:22 +0100)]
GtkButton: Don't suppress unhandled mouse events
Mouse events that we do not handle should bubble up to the parent
widget, so they can be handled there, instead of disappearing inside
the button. Also use GDK_EVENT_{STOP,PROPAGATE} to make return
values clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=696640
Victor Ibragimov [Fri, 17 May 2013 21:17:29 +0000 (02:17 +0500)]
Tajik Updated
Victor Ibragimov [Fri, 17 May 2013 21:12:22 +0000 (02:12 +0500)]
Tajik Updated
Benjamin Otte [Fri, 17 May 2013 18:49:20 +0000 (20:49 +0200)]
testsuite: temporarily disable failing tests
Benjamin Otte [Fri, 17 May 2013 16:16:42 +0000 (18:16 +0200)]
treeview: Use tick callback
instead of a timer for the presize callback.
Benjamin Otte [Fri, 17 May 2013 12:33:50 +0000 (14:33 +0200)]
tests: Use gtk_tree_view_wait_for_draw() in treeview-scrolling
Replace all idle handlers waiting for draw and all manual runs of the
event loop with a call to gtk_tree_view_wait_for_draw().
Benjamin Otte [Fri, 17 May 2013 12:28:18 +0000 (14:28 +0200)]
treeview: Store editable position differently
Instead of storing the rect in the bin window, store the row and column
the editable belongs to and compute the rect lazily. This way, we don't
need to keep the rect up to date.
Fixes /TreeView/scrolling/new-row-mixed/path-500 test.
Benjamin Otte [Fri, 17 May 2013 11:33:19 +0000 (13:33 +0200)]
treeview: Remove unused function
Benjamin Otte [Thu, 16 May 2013 23:35:04 +0000 (01:35 +0200)]
API: Add gtk_test_widget_wait_for_draw ()
See docs and following commits for what it's supposed to do. Let's hope
it fixes the flakiness in tests.
Bastien Nocera [Thu, 16 May 2013 16:20:19 +0000 (18:20 +0200)]
GtkSearchEntry: Delay the changed signal by default
Emit the "changed" signal after 150 msecs, so that searching
through big lists, or doing online searches feels more responsive.
This is something already done in various applications to make
search-as-you type more responsive (gnome-shell, gnome-documents,
gnome-control-center, etc.). The 150 msecs is the value currently
used by gnome-shell, so keep it (invisibly) consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=700229
Victor Ibragimov [Fri, 17 May 2013 12:51:33 +0000 (17:51 +0500)]
Tajik Language - PO-properties updated
Victor Ibragimov [Fri, 17 May 2013 12:10:19 +0000 (17:10 +0500)]
Tajik Language - Complete translation
Sindhu S [Fri, 17 May 2013 08:48:43 +0000 (14:18 +0530)]
Fix typos in EN translation files
Change "Englihs" to "English"
Change "Page up" to "Page Up"
Change "Page up (keypad)" to "Page Up (keypad)"
Change "Page down" to "Page down"
Change "Page down (keypad)" to "Page Down (keypad)"
Benjamin Otte [Thu, 16 May 2013 17:50:03 +0000 (19:50 +0200)]
testsuite: Fix output of broken sed script in previous commit
Benjamin Otte [Thu, 16 May 2013 17:44:23 +0000 (19:44 +0200)]
testsuite: install tests in gtk/
Victor Ibragimov [Thu, 16 May 2013 11:08:18 +0000 (16:08 +0500)]
Tajik Translation Updated
Piotr Drąg [Wed, 15 May 2013 16:00:59 +0000 (18:00 +0200)]
Updated POTFILES.skip
Benjamin Otte [Wed, 15 May 2013 13:59:42 +0000 (15:59 +0200)]
testsuite: Fix srcdir != builddir builds
Benjamin Otte [Wed, 15 May 2013 13:28:06 +0000 (15:28 +0200)]
build: Move tests/reftests to testsuite/reftests
Benjamin Otte [Wed, 15 May 2013 12:36:56 +0000 (14:36 +0200)]
build: Move tests/css to testsuite/css
Benjamin Otte [Wed, 15 May 2013 00:00:11 +0000 (02:00 +0200)]
build: Move tests/a11y to testsuite/a11y
Benjamin Otte [Tue, 14 May 2013 23:48:18 +0000 (01:48 +0200)]
build: Move gtk/tests to testsuite/gtk
Benjamin Otte [Tue, 14 May 2013 14:13:16 +0000 (16:13 +0200)]
build: Move gdk/tests/ to testsuite/gdk/
This is a reorganization of the testsuite to be in the testsuite/
directory, so it can be installed from there.
Benjamin Otte [Wed, 15 May 2013 13:25:25 +0000 (15:25 +0200)]
tests: Include gtk/ directory from toplevel
Benjamin Otte [Wed, 15 May 2013 13:25:05 +0000 (15:25 +0200)]
tests: Use testing API instead of duplicating it
Benjamin Otte [Wed, 15 May 2013 13:24:18 +0000 (15:24 +0200)]
tests: Use absolute paths to unrelated files
Benjamin Otte [Tue, 14 May 2013 23:52:32 +0000 (01:52 +0200)]
quartz: Fix Makefile typo
Alexander Larsson [Wed, 15 May 2013 10:39:21 +0000 (12:39 +0200)]
GtkContainer: Propagate draws in GdkWindow order
Now that we're not drawing the GdkWindows by themeselves we need to
propagate into children in the same order as the windows were painted
otherwise apps can't rely on stacking order to overlay children.
This is still not 100% the same as the old behaviour, because we're
treating all windows that are part of a window at the same time (to allow
e.g. opacity groups), and we're only looking at order for the main
windows of a widget. However, this fixes at least the ordering
of the gnome-boxes fullscreen overlay toolbar.
https://bugzilla.gnome.org/show_bug.cgi?id=699970
Alexander Larsson [Wed, 15 May 2013 08:55:59 +0000 (10:55 +0200)]
GdkWindow: Fix shape handling for native windows
We don't track the full clip for each window anymore, as this
is not useful when no windows are opaque. However, we still
need the full clip for the shape, so its calculated manually.
However, it was previously only recalculated when the clip changes
which doesn't correctly handle the case of a sibling geometry changing.
So, instead of doing this directly when geometry changes we just
set a bit in the toplevel whenever some window geometry changes, and
we then handle this in process_updates, updating the shape for all
native windows. This should be ok performance-wise because we don't
expect a lot of native children.
Alexander Larsson [Wed, 15 May 2013 08:55:14 +0000 (10:55 +0200)]
GdkWindow: Fix debug function print_region
Alexander Larsson [Wed, 15 May 2013 08:23:14 +0000 (10:23 +0200)]
GdkWindow: Track all native windows of native windows
We keep a list of all native children of a native window. This means
we don't have to recurse over the entire hierarchy to find any
native children.
Matthias Clasen [Wed, 15 May 2013 04:14:18 +0000 (00:14 -0400)]
Install gdk tests
Matthias Clasen [Wed, 15 May 2013 03:51:37 +0000 (23:51 -0400)]
Install the other a11y tests as well
Matthias Clasen [Wed, 15 May 2013 03:16:56 +0000 (23:16 -0400)]
Install the accessibility-dump tests
Matthias Clasen [Wed, 15 May 2013 03:18:05 +0000 (23:18 -0400)]
Add a --directory option to accessibility-dump
This will be used to tell it where its test data resides
when running the a11y tests installed.
Matthias Clasen [Wed, 15 May 2013 03:17:23 +0000 (23:17 -0400)]
Update expected test output for some a11y tests
Thomas Wood [Tue, 14 May 2013 14:25:30 +0000 (15:25 +0100)]
wayland: ensure the clip region is updated after the window size is updated
https://bugzilla.gnome.org/show_bug.cgi?id=700301
Jasper St. Pierre [Mon, 13 May 2013 19:52:21 +0000 (15:52 -0400)]
gtkmenutrackeritem: Simplify the submenu opening API
Instead of making clients inspect the submenu action and decide what
to do based upon that, always request the submenu open and let the
tracker decide what to do.
Jasper St. Pierre [Mon, 13 May 2013 19:11:41 +0000 (15:11 -0400)]
Add some usage docs for the new private copy/paste APIs
Ryan Lortie [Wed, 8 May 2013 12:20:23 +0000 (08:20 -0400)]
add GtkMenuTrackerItem
Add a new class, GtkMenuTrackerItem that represents a menu item, to be
used with GtkMenuTracker.
GtkMenuTracker's insert callback now works in terms of this new type
(instead of passing reference to the model and an index to the item).
GtkMenuShell now handles all of the binding tasks internally, mostly
through the use of property bindings. Having bindings for the label and
visibility attributes, in partiular, will help with supporting upcoming
extensions to GMenuModel.
GtkModelMenu has been reduced to a helper class that has nothing to do
with GMenuModel. It represents something closer to an "ideal" API for
GtkMenuItem if we didn't have compatibility concerns (eg: not emitting
"activate" when setting toggle state, no separate subclasses per menu
item type, supporting icons, etc.) Improvements to GtkMenuItem could
eventually shrink the size of this class or remove the need for it
entirely.
Some GtkActionHelper functionality has been duplicated in
GtkMenuTracker, which is suboptimal. The duplication exists so that
other codebases (such as Unity and gnome-shell) can reuse the
GtkMenuTracker code, whereas GtkActionHelper is very much tied to
GtkWidget. Supporting binding arbitrary GtkWidgets to actions vs.
supporting the full range of GMenuModel features for menu items turns
out to be two overlapping but not entirely similar problems. Some of
the duplication (such as roles) can be removed from GtkActionHelper once
Gtk's internal Mac OS menubar support is ported to GtkMenuTracker.
The intent to reuse the code outside of Gtk is also the reason for the
unusual treatment of the enum type introduced in this comment.
This adds no new "public" API to the Gtk library, other than types that
we cannot make private due to GType limitations.
Ryan Lortie [Thu, 9 May 2013 19:08:02 +0000 (15:08 -0400)]
action stuff: Change include style
The shell wants to transplant our GtkActionObserver/GtkActionObservable
code now as well, so change to ""-style #includes there.
Jasper St. Pierre [Thu, 9 May 2013 19:28:57 +0000 (15:28 -0400)]
action stuff: Introspection fixes
Jasper St. Pierre [Mon, 13 May 2013 16:02:24 +0000 (12:02 -0400)]
action stuff: Remove G_GNUC_INTERNAL
Ryan Lortie [Thu, 9 May 2013 18:15:51 +0000 (14:15 -0400)]
action stuff: stop abusing GLib's namespace
Rename our internal GActionMuxer, GActionObserver and GActionObservable
classes and interfaces to have names in our own namespace.
These classes were originally intended for GIO but turned out to be too
special-purpose to be useful there, so we never made them public API but
have just been copying them around (without bothering to properly rename
them). Now that other people will be copying them out of Gtk, it's even
more important to prevent this namespace abuse from spreading further.
Ryan Lortie [Sun, 5 May 2013 21:18:13 +0000 (17:18 -0400)]
tests: make GtkMenu test more flexible
We were using gtk_menu_item_get_label() from a testcase to determine the
label associated with a menu item. Future changes to GtkModelMenuItem
will cause this to stop working, so try a bit harder to find a label
inside of the item.
Matthias Clasen [Mon, 13 May 2013 19:45:47 +0000 (15:45 -0400)]
Revert "Fix .ui.h -> .ui naming of files."
This reverts commit
99c7091abe40a0a1a6da4a80f5168e9286c02b4d.
Please, no more touching of POTFILES.in without asking first.
These .ui.h files are really meant to be there.